﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using Zeta.Common;

namespace IncubusCC.Helpers
{
    internal static class Logger
    {
        private static Color m_LogColor = Colors.Gold;
        internal static void WriteLog(LogLevel logLevel, string format, params object[] args)
        {
            Logging.Write(logLevel, m_LogColor, "[{0} {1}] {2}", IncubusCC.Instance.Name, IncubusCC.Instance.Version, string.Format(format, args));
        }
        internal static void WriteLog(LogLevel logLevel, string message)
        {
            Logging.Write(logLevel, m_LogColor, "[{0} {1}] {2}", IncubusCC.Instance.Name, IncubusCC.Instance.Version, message);
        }
        internal static void WriteLog(string format, params object[] args)
        {
            WriteLog(LogLevel.Normal, format, args);
        }
        internal static void WriteLog(string message)
        {
            WriteLog(LogLevel.Normal, message);
        }
        internal static void WriteVerbose(string format, params object[] args)
        {
            WriteLog(LogLevel.Verbose, format, args);
        }
    }
}
